Skip to content

v36 audit: C2/C4 intentional-divergence + node-local doc annotations - #91

Merged
frstrtr merged 1 commit into
masterfrom
ltc-doge/v36-audit-c2-c4-docs
Jun 13, 2026
Merged

v36 audit: C2/C4 intentional-divergence + node-local doc annotations#91
frstrtr merged 1 commit into
masterfrom
ltc-doge/v36-audit-c2-c4-docs

Conversation

@frstrtr

@frstrtr frstrtr commented Jun 13, 2026

Copy link
Copy Markdown
Owner

Doc-only audit annotations from the C1–C7 v36 consensus cross-check. No code changes — 15 comment lines across 2 files, off master 3de14ba (commit 894593e, GPG-signed).

Annotations

  • C2src/impl/ltc/share_tracker.hpp:2307: marks the merged-chain FLAT (att-weighted, no time-decay) weighting as an INTENTIONAL divergence from the parent/LTC decayed-cumulative path. Mirrors p2pool get_v36_merged_weights (flat + cap, data.py:2657). Verified intentional, not a bug.
  • C4get_merged_expected_payouts (share_tracker.hpp) + build_pplns_coinbase_hex (merged_mining.cpp): annotates both as NODE-LOCAL / NON-CONSENSUS. Output ordering feeds only the locally-assembled DOGE aux-coinbase submitted to dogecoind; peers validate the merged commitment via the AuxPoW merkle proof, not by re-deriving outputs.
  • C7 — CHAIN_LENGTH=8640 confirmed no-change (cross-check finding; no code touched).

Scope / safety

  • Comment-only; additions only; no runtime behavior change.
  • No third-party attribution.
  • Merge stays operator-held — review/merge per integrator.

C2: merged-chain weights are intentionally flat (no decay) vs the parent
LTC decayed-cumulative skiplist, mirroring p2pool get_v36_merged_weights.

C4: get_merged_expected_payouts and build_pplns_coinbase_hex output ordering
is node-local and non-consensus — the DOGE aux coinbase is submitted only to
dogecoind (accepts any valid ordering); the sharechain commits to merged work
via the AuxPoW merkle proof, never by re-deriving coinbase outputs across peers.

Documentation only; no behavioral change. Closes the C1-C7 cross-check loop
(C1/C3/C5 already-satisfied, C6/C7 confirmed, C7 ltc CHAIN_LENGTH=8640).
@frstrtr
frstrtr merged commit c67fbc1 into master Jun 13, 2026
16 checks passed
@frstrtr
frstrtr deleted the ltc-doge/v36-audit-c2-c4-docs branch June 13, 2026 16:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant